package com.byinsight.web.actions.security;

import com.byinsight.web.actions.BaseAction;

import eg.backend.domain.User;

public class CreateUserAction extends BaseAction {
	private static final long serialVersionUID = 3716680442484513635L;
	private String username;
	private String userpwd;
	
	@Override
	protected String process() {
		@SuppressWarnings("unused")
		User user = userManager.createUser(username, userpwd);
		return null;
	}
	
	/* struts */
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUserpwd() {
		return userpwd;
	}

	public void setUserpwd(String userpwd) {
		this.userpwd = userpwd;
	}
}
